package com.shen.yun.controller;

import com.shen.yun.util.ChatWebSocket;
import org.springframework.http.HttpRequest;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpSession;
import javax.websocket.server.PathParam;
import java.util.Random;

@Controller
public class ThreeGameController {
    @RequestMapping("/threeGame")
    public String game( Model model){
        model.addAttribute("room", "123456");
        return "threeGame";
    }

}
